/*
 * @Author: Aaron Huang
 * @Date: 2022-09-14 17:51:30
 * @LastEditors: Aaron Huang
 * @LastEditTime: 2022-09-15 14:53:37
 * @Description: file content
 * @FilePath: \ias_ui\setVersion.js
 * @Company: 沃尔玛
 */
const fs = require('fs')
if (process.argv[2] !== 'true') return
const compileTime = new Date().getTime()
fs.writeFile('public/static/versionRecord.json', JSON.stringify(compileTime), (e) => {
  console.log('写入成功', JSON.stringify(compileTime))
})
